-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Python < 3.10 - TypeError: 'staticmethod' object is not callable #2263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I encountered the same problem, Python version is 3.9 |
Found in the gh discussion acout "making classmethods callable"
The above is a python issue from 2014 (Python 3.3) What does the error you have encountered means? It means, that, in python < 3.10 ; calling ` a_func = staticmethod(a_func) While it should ha been equivalent to: ` So:
What's to do:
I think the case is close |
Describe the bug
It looks like ManimGL is no longer compatible with Python < 3.10, as, prior to this Python version,
@staticmethod
were not regular callable (hence, using them as a wrapper didn't work).See here https://stackoverflow.com/a/76237739.
Code:
Wrong display or Error traceback:
Additional context
See:
from https://docs.python.org/3/whatsnew/3.10.html
The text was updated successfully, but these errors were encountered: